package com.sz.framework.utils;

import com.blankj.utilcode.util.DeviceUtils;


public class OSHelper {
    /**
     * 魅族
     *
     * @return
     */
    public static boolean isFlyme() {
        return DeviceUtils.getManufacturer().toUpperCase().contains("MEIZU");
    }
    /**
     * 华为
     *
     * @return
     */
    public static boolean isEMUI() {
        return DeviceUtils.getManufacturer().toUpperCase().contains("HUAWEI");
    }

    /**
     * 小米
     *
     * @return
     */
    public static boolean isMIUI() {
        return DeviceUtils.getManufacturer().toUpperCase().contains("XIAOMI");
    }
}
